package com.demo.pojo;


import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 历史病历
 * </p>
 *
 * @author Helen
 * @since 2020-09-09
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
@ApiModel(value = "THisCareHistory对象", description = "历史病历")
public class THisCareHistory {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "医院id")
    private Integer hospitalId;

    @ApiModelProperty(value = "医生id")
    private Integer doctorId;

    @ApiModelProperty(value = "患者id")
    private Integer patientId;

    @ApiModelProperty(value = "科室id")
    private Integer departmentId;

    @ApiModelProperty(value = "接诊类型：0初诊，1复诊，2急诊")
    private Boolean typeId;

    @ApiModelProperty(value = "是否传染，0否，1是")
    @TableField("is_contagious")
    private Boolean contagious;

    @ApiModelProperty(value = "发病日期")
    private Date caseDate;

    @ApiModelProperty(value = "插入时间，php时间戳")
    private Integer addtime;

    @ApiModelProperty(value = "诊断编号")
    private String caseCode;

    @ApiModelProperty(value = "主诉")
    private String caseTitle;

    @ApiModelProperty(value = "诊断信息")
    private String caseResult;

    @ApiModelProperty(value = "医生建议")
    private String doctorTips;

    @ApiModelProperty(value = "备注")
    private String memo;


}
